<div class="welcomeAdmin">
    <h4>Welcome, <span><?=$this->userDetail->fname.' '.$this->userDetail->lname;?></span> |</h4>
    <ul>
        <li>  <a href="/user/login/logout">  Logout</a>| </li>
        <?php if ($this->userDetail->role == 'superadmin' || $this->userDetail->role == 'admin') {
        ?>
            <li><a href="/user/list"> Emloyees</a> |  </li>
            <li class="last"><a href="#">Settings</a></li>
        <?php } ?>
    </ul>
</div>